import { request } from "@/utils/request002";


// 分页数据
export const queryPageData = (data: any) => {
  return request({
    url: '/goodsOrder/page',
    method: 'POST',
    data
  })
}

// 审批通过
export const approveOrder = (data: any) => {
  return request({
    url: '/goodsOrder/approve',
    method: 'POST',
    data
  })
}

// 审批驳回
export const rejectOrder = (data: any) => {
  return request({
    url: '/goodsOrder/reject',
    method: 'POST',
    data
  })
}